

<template>
  <router-view></router-view>
</template>
<script setup>
import { nextTick } from "vue";
nextTick(() => {
  // 禁用右键
  document.oncontextmenu = new Function("event.returnValue=false");
  // 禁用选择
  document.onselectstart = new Function("event.returnValue=false");
  //禁止f12
  // document.οnkeydοwn = new Function('event.returnValue=false')
});
</script>
<style scoped>
</style>
